# ---------- ---------- ---------- ---------- ---------- ----------
#
# ssg_pandoc
#
# ---------- ---------- ---------- ---------- ---------- ----------


target: help


.PHONY: help
help:
	@echo "Usage: make [PHONY]"
	@sed -n -e "/sed/! s/\.PHONY: //p" Makefile


.PHONY: forgefed
forgefed:
	@./build markdown forgefed/ my_templates/forgefed_template.html \
            links-md-to-html.lua \
            light \
            dark/ \
            output/forgefed
	@./build markdown forgefed/ my_templates/forgefed_template.html \
            links-md-to-html.lua \
            dark \
            ../ \
            output/forgefed/dark


.PHONY: rebuild
rebuild: clean forgefed


.PHONY: clean
clean:
	@rm -rf output
